//package study.springboot.mvc.support.exception;
//
//import lombok.Getter;
//import study.springboot.mvc.support.result.ErrCode;
//
//@Getter
//public class VException extends RuntimeException {
//
//    private String[] name;
//
//    private ErrCode errCode;
//
//    public VException(ErrCode errCode) {
//        this(errCode, null);
//    }
//
//    public VException(ErrCode errCode, String... name) {
//        super(String.format(errCode.getMsg(), name));
//        this.name = name;
//        this.errCode = errCode;
//    }
//}
